package com.kpmg.datalake.schedule.vo;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.plugins.Page;
import com.kpmg.datalake.schedule.model.ScheduleJob;
import java.io.Serializable;

/**
 * @author Alex.zhao [alex.zhao@kpmg.com]
 * @since Created on azhao6 on 2018-08-22 21:22:31
 */
public class ScheduleJobVO<T> implements Serializable {
  private static final long serialVersionUID = -4068330048556715627L;
  private ScheduleJob scheduleJob;

  private Page<T> page;

  public ScheduleJob getScheduleJob() {
    return scheduleJob;
  }

  public void setScheduleJob(ScheduleJob scheduleJob) {
    this.scheduleJob = scheduleJob;
  }

  public Page<T> getPage() {
    return page;
  }

  public void setPage(Page<T> page) {
    this.page = page;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this);
  }

}
